//
//  GSNetworkManager.h
//  GameSky
//
//  Created by lanou on 16/1/10.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import <Foundation/Foundation.h>

// 枚举
typedef NS_ENUM (NSInteger, RequestType){
    POST,
    GET
};

@interface GSNetworkManager : NSObject

+ (void)requestWithUrlStr:(NSString *)urlStr paraDict:(NSDictionary *)paraDict method:(RequestType)method success:(void (^)(NSURLResponse *response, NSData * data))success failure:(void (^)(NSError *error))failure;

@end
